package com.tunxing.行为型.状态设计模式;

/**
 * 未支付状态
 */
public class NonPayOrderState implements OrderState {
    @Override
    public void pay(Context context) {
        String orderId = context.getOrderId();
        System.out.println(orderId + "处理支付逻辑");
    }

    @Override
    public void remind(Context context) {
        System.out.println("未支付，不能催单");
    }

    @Override
    public void comment(Context context) {
        System.out.println("未支付，不能评价");
    }
}
